﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StyleMVVM.DependencyInjection;

namespace ExampleApp.Common
{
	public interface IDemoPageInfo
	{
		string Title { get; }

		string Subtitle { get; }

		string ViewName { get; }
	}

	[Export(typeof(IDemoPageInfo))]
	public abstract class DemoPageInfo<T> : IDemoPageInfo
	{
		public virtual string Title { get { return string.Empty; } }

		public virtual string Subtitle { get { return string.Empty; } }

		public virtual string ViewName { get { return typeof (T).Name; } }
	}
}
